#ifndef __TIMER_H
#define __TIMER_H

#include "stm32f10x.h"

#define TIMER            TIM6
#define TIMER_CLK        RCC_APB1Periph_TIM6
#define TIMER_IRQN       TIM6_IRQn
#define TIMER_IRQHANDLER TIM6_IRQHandler

void Timer_Init(void);
uint8_t Timer_ReadFlag(void);

#endif // !__TIMER_H